package com.qst.mapreduce.wordcount.taobao;

import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapreduce.Reducer;

import java.io.IOException;

public class Info2Reducer extends Reducer<App,Text,Text, App> {
    @Override
    protected void reduce(App key, Iterable<Text> values, Reducer<App, Text, Text, App>.Context context) throws IOException, InterruptedException {
        for (Text value:values){
            context.write(value,key);
        }
    }
}
